//
//  UIImage+Blur.h
//  背景模糊效果
//
//  Created by gao on 11/27/15.
//  Copyright © 2015 gao. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Blur)

/**
*  获取模糊背景
*
*  @param view       view 希望模糊的view
*  @param blurAmount 模糊程度
*
*  @return UIImage
*/
+(UIImage*)getBlurredImageWithView:(UIView *)view blurAmount:(float)blurAmount;
+(UIImage*)getBlurredImageWithView2:(UIImage *)image blurAmount:(float)blurAmount;
-(UIImage *)boxblurImageWithBlur:(CGFloat)blur;
@end
